package com.xiaoyun.service.center;

import com.xiaoyun.pojo.Orders;
import com.xiaoyun.utils.PagedGridResult;
import com.xiaoyun.vo.OrderStatusCountsVO;

public interface MyOrderService {

    PagedGridResult queryMyOrders(String userId,
                                  Integer orderStatus,
                                  Integer page,
                                  Integer pageSize);

    void updateDeliverOrderStatus(String orderId);

    Orders queryMyOrder(String userId, String orderId);

    boolean updateReceiveOrderStatus(String orderId);

    boolean updateReceiveOrderStatus(String userId, String orderId);

    OrderStatusCountsVO getOrderStatusCount(String userId);

    PagedGridResult queryOrderTrend(String userId,
                                    Integer page,
                                    Integer pageSize);
}
